package com.nosnow.handler;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author by bingHeng
 * @version 1.0
 * @Create 2020/3/30 0:59
 * 业务异常
 */

@Data
@AllArgsConstructor // 生成有参数的构造器
@NoArgsConstructor // 生成无参数的构造器
public class SnowflakeException  extends RuntimeException {

    private Integer code;

    private String msg;
}
